import Opt from '@/components/dt/info/Opt.js'
import houseOpt from '@/biz/option/house.js'
let _this = null

class SearchOpt extends Opt {
  constructor(vm) {
    _this = vm
    super()
    this.build()
  }

  build() {
    this.createAll()
    this.opts.push(...this.all)
  }

  createAll() {
    this.all = [
      houseOpt.create({
        title: '案场',
        placeholder: '请输入案场名称'
        // to: (info) => {
        //   return {
        //     housesName: info.housesName,
        //     housesId: info.housesId
        //   }
        // }
      })
    ]
  }
}

export default SearchOpt
